using System;
using System.Collections.Generic;
using System.Text;

using Microsoft.Ccr.Core;
using System.ComponentModel;
using Microsoft.Dss.Core.Attributes;
using Microsoft.Dss.ServiceModel.Dssp;
using W3C.Soap;

namespace VEXRobotics
{
    /// <summary>
    /// Update response
    /// </summary>
    [DataContract]
    public class VEXControllerResponse : Update<VEXResponse, PortSet<DefaultUpdateResponseType, Fault>>
    {
        /// <summary>
        /// Default Constructor
        /// </summary>
        public VEXControllerResponse()
        {
        }

        /// <summary>
        /// Initialization Constructor
        /// </summary>
        public VEXControllerResponse(VEXResponse body)
        {
            this.Body = body;
        }
    }

    /// <summary>
    /// Replace the state
    /// </summary>
    [DataContract]
    public class ReplaceState : Replace<VEXState, PortSet<DefaultReplaceResponseType, Fault>>
    {
        /// <summary>
        /// Default Constructor
        /// </summary>
        public ReplaceState()
        {
        }

        /// <summary>
        /// Initialization Constructor
        /// </summary>
        public ReplaceState(VEXState body)
        {
            this.Body = body;
        }
    }

    /// <summary>
    /// Sensor state update
    /// </summary>
    [DataContract]
    public class SensorNotify : Update<VEXResponseGetAllInput, PortSet<DefaultUpdateResponseType, Fault>>
    {
        /// <summary>
        /// Default Constructor
        /// </summary>
        public SensorNotify()
        {
        }

        /// <summary>
        /// Initialization Constructor
        /// </summary>
        public SensorNotify(VEXResponseGetAllInput body)
        {
            this.Body = body;
        }
    }
}
